package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/08
*/
@Data
@Table(name = "tbl_company")
@NoArgsConstructor
@AllArgsConstructor
public class TblCompany extends BaseEntity {
    @Column(name = "group_id")
    private String groupId;

    /**
     * 这个字段在分页展示为No
     */
    @Column(name = "company_code")
    @ApiModelProperty(value = "companyCode",name = "companyCode",example = "companyCode：分页展示为No")
    private String companyCode;

    @Column(name = "company_name")
    private String companyName;

    @Column(name = "company_logo")
    private String companyLogo;

    @Column(name = "company_address")
    private String companyAddress;

    @Column(name = "company_email")
    private String companyEmail;

    @Column(name = "company_phone")
    private String companyPhone;

    @Column(name = "gst_registered")
    private Integer gstRegistered;

    /**
     * 自营类型 0 third 1 self
     */
    @Column(name = "company_type")
    @ApiModelProperty(value = "自营类型",name = "companyType",example = "0 third 1 self")
    private Integer companyType;

    @Column(name = "gst_registration_no")
    private String gstRegistrationNo;

    @Column(name = "licence_no")
    private String licenceNo;

    @Column(name = "company_status")
    private Integer companyStatus;

    @Column(name = "powered_by_medical_certification")
    private Integer poweredByMedicalCertification;

    @Column(name = "powered_by_referral_letter")
    private Integer poweredByReferralLetter;

    @Column(name = "powered_by_memo")
    private Integer poweredByMemo;

    @Column(name = "powered_by_receipt")
    private Integer poweredByReceipt;

    @Column(name = "powered_by_prescription")
    private Integer poweredByPrescription;

    @Column(name = "powered_by_other_service")
    private Integer poweredByOtherService;
}